package zxj.baidu.map.domain;

import java.io.Serializable;

/**
 * 百度地图POI实体类
 * 
 * @author zhuxuejiang
 *
 */
public class BaiduMapPoi implements Serializable {

	private static final long serialVersionUID = 1L;

	/** poi的唯一标示，可用于详情检索（主键） */
	protected String uid;

	/** poi名称 */
	protected String name;

	/** poi经纬度坐标 */
	protected Location location;

	/** poi地址信息 */
	protected String address;

	/** 所属省份 */
	protected String province;

	/** 所属城市 */
	protected String city;

	/** poi电话信息 */
	protected String telephone;

	/** 所属区县 */
	protected String area;

	/** 街景图id */
	protected String streetId;

	/** 是否有详情页：1有，0没有 */
	protected String detail;

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid == null ? null : uid.trim();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	public Location getLocation() {
		return location;
	}

	public void setLocation(Location location) {
		this.location = location;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address == null ? null : address.trim();
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province == null ? null : province.trim();
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city == null ? null : city.trim();
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone == null ? null : telephone.trim();
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area == null ? null : area.trim();
	}

	public String getStreetId() {
		return streetId;
	}

	public void setStreetId(String streetId) {
		this.streetId = streetId == null ? null : streetId.trim();
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail == null ? null : detail.trim();
	}

	/**
	 * poi经纬度坐标
	 * 
	 * @author zhuxuejiang
	 *
	 */
	static class Location {
		/** 纬度值 */
		protected String lat;

		/** 经度值 */
		protected String lng;

		public String getLat() {
			return lat;
		}

		public void setLat(String lat) {
			this.lat = lat == null ? null : lat.trim();
		}

		public String getLng() {
			return lng;
		}

		public void setLng(String lng) {
			this.lng = lng == null ? null : lng.trim();
		}

	}

}